package kas.group.pkg3;


/**
 * Write a description of class Hotel here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Hotel
{
    // instance variables - replace the example below with your own
    private String hotel;
    private int einkultKamar;
    private int dupultKamar;

    /**
     * Constructor for objects of class Hotel
     */
    public Hotel()
    {
        // initialise instance variables
        hotel = "0";
        einkultKamar = 0;
        dupultKamar = 0;
    }
    
    
            @Override
    public String toString()
    {
        
        return hotel;
    }
    
    /**
     * Navn
     */
    public void hotelNavn(String navn)
    {
        hotel = navn;
    }
    
    /**
     * Einkultkamar
     */
    public void einkultKamar(int v)
    {
        einkultKamar = v;
    }
    
    /**
     * Dupultkamar
     */
    public void dupultkamar(int w)
    {
        dupultKamar = w; 
    }
    
    /**
     * Print v
     */
    public void einkultKamarPrís()
    {
        System.out.println("Einkultkamar: " + einkultKamar);
    }
    
    /**
     * Print w
     */
    public void dupultKamarPrís()
    {
        System.out.println("dupultkamar: " + dupultKamar);
    }
    
    /**
     * Hotel
     */
    public void hotelNavn()
    {
        System.out.println("Navn á hotelli: " + hotel);
    }
}
